/*******************************************************************************
 * Copyright (c) 2012 laurent barbisan.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    laurent barbisan - initial API and implementation
 *******************************************************************************/ 

package fr.free.hd.servers.android.geonaute.connector;

import java.util.List;

import fr.free.hd.servers.android.geonaute.connector.model.Track;
import android.content.Intent;
import android.content.SharedPreferences;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbDeviceConnection;
import android.hardware.usb.UsbEndpoint;
import android.hardware.usb.UsbManager;
import android.widget.ArrayAdapter;

public class LoadTrackInfoParams {

	
	
	protected ArrayAdapter<Track> adapter = null;
	protected UsbManager usbManager = null;
	protected UsbDevice usbDevice = null;
	protected UsbDeviceConnection usbConnection = null;
	protected UsbEndpoint epIN = null;
	protected UsbEndpoint epOUT = null; 
	protected List<Track> trackIds= null;
	protected SharedPreferences preferences;
	private Intent indent;
	
	public LoadTrackInfoParams() {
		super();
	}
	
	public void setAdapter(ArrayAdapter<Track> adapter) {
		this.adapter = adapter;
	}
	
	public SharedPreferences getPreferences() {
		return preferences;
	}
	public void setPreferences(SharedPreferences preferences) {
		this.preferences = preferences;
	}
	public void setUsbManager(UsbManager usbManager) {
		this.usbManager = usbManager;
	}
	public void setUsbDevice(UsbDevice usbDevice) {
		this.usbDevice = usbDevice;
	}
	public ArrayAdapter<Track> getAdapter() {
		return adapter;
	}
	public UsbManager getUsbManager() {
		return usbManager;
	}
	public UsbDevice getUsbDevice() {
		return usbDevice;
	} 
	public UsbDeviceConnection getUsbConnection() {
		return usbConnection;
	}
	public UsbEndpoint getEpIN() {
		return epIN;
	}
	public UsbEndpoint getEpOUT() {
		return epOUT;
	}
	public SharedPreferences getSharedPreferences() {
		return preferences;
	}
	
	public List<Track> getTrackIds() {
		return trackIds;
	}
	public void setUsbConnection(UsbDeviceConnection usbConnection) {
		this.usbConnection = usbConnection;
	}
	public void setEpIN(UsbEndpoint epIN) {
		this.epIN = epIN;
	}
	public void setEpOUT(UsbEndpoint epOUT) {
		this.epOUT = epOUT;
	}
	public void setTrackIds(List<Track> trackIds) {
		this.trackIds = trackIds;
	}
	public void setIndent(Intent arg1) {
		this.indent = arg1;
	}
	public Intent getIndent() {
		return indent;
	}
	
}
